require.config({
    baseUrl: '/',
    packages: [
        {
            name: 'vue',
            location: './vendors/vue',
            main: 'vue'
        },
        {
            name: 'jquery',
            location: './vendors',
            main: 'jquery'
        },
        {
            name: 'iview',
            location: './vendors/iview',
            main: 'js/iview'
        },
        {
            name: 'contabs',
            location: './vendors',
            main: 'contabs.min'
        },
        {
            name: 'vuex',
            location: './vendors/vuex',
            main: 'vuex'
        },
        {
            name: 'vee-validate',
            location: './vendors/vee-validate',
            main: 'vee-validate'
        },
        {
            name: 'vue-quill-editor',
            location: './vendors/quill',
            main: 'vue-quill-editor'
        },
        {
            name: 'jquery-validate',
            location: './vendors/jquery-validate',
            main: 'jquery.validate'
        },
        {
            name: 'lodash',
            location: './vendors/lodash',
            main: 'lodash'
        },
        {
            name: 'CryptoJS',
            location: './vendors',
            main: 'crypto-js'
        }
    ],
    shim: {
        'layer': {
            deps: ['jquery'],
            exports: 'layer'
        }
    },
    paths: {
        'api': './api/api-config',
        'visit-plan/plan-table': './views/visit-manage/visit-plan/components/plan-table/plan-table',
        'visit-plan/count-bar': './views/visit-manage/visit-plan/components/count-bar/count-bar',
        'visit-plan/plan-sidebar': './views/visit-manage/visit-plan/components/plan-sidebar/plan-sidebar',
        'visit-plan/status-bar': './views/visit-manage/visit-plan/components/status-bar/status-bar'
    }
});
